package com.cyclecoder.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by cyclecoder on 2021/8/24 下午10:46
 */
@Service
@FeignClient("spring-cloud-producer")
public interface ProducerService {
    @RequestMapping("producer/result")
    String result();
}
